package com.kws.system.domain.info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <b>QueryConsultationRecordInfo</b>
 *
 * @description: QueryConsultationRecordInfo <br>
 * @date: 2024/12/12 10:46 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryConsultationRecordInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "咨询账号")
    private String inquiryNumber;

    @ApiModelProperty(value = "咨询问题")
    private String inquiryProblem;

    @ApiModelProperty(value = "咨询时间")
    private Date inquiryTime;

    @ApiModelProperty(value = "咨询时长")
    private double inquiryDuration;

    @ApiModelProperty(value = "咨询报告")
    private String inquiryReport;

    @ApiModelProperty(value = "咨询满意度")
    private String inquiryFraction;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getInquiryNumber() {
        return inquiryNumber;
    }

    public void setInquiryNumber(String inquiryNumber) {
        this.inquiryNumber = inquiryNumber;
    }

    public String getInquiryProblem() {
        return inquiryProblem;
    }

    public void setInquiryProblem(String inquiryProblem) {
        this.inquiryProblem = inquiryProblem;
    }

    public String getInquiryTime() {
        return DateUtil.format(inquiryTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setInquiryTime(Date inquiryTime) {
        this.inquiryTime = inquiryTime;
    }

    public double getInquiryDuration() {
        return inquiryDuration;
    }

    public void setInquiryDuration(double inquiryDuration) {
        this.inquiryDuration = inquiryDuration;
    }

    public String getInquiryReport() {
        return inquiryReport;
    }

    public void setInquiryReport(String inquiryReport) {
        this.inquiryReport = inquiryReport;
    }

    public String getInquiryFraction() {
        return inquiryFraction;
    }

    public void setInquiryFraction(String inquiryFraction) {
        this.inquiryFraction = inquiryFraction;
    }
}
